@import "./reset.css";

html,
body {
  width: 100%;
  height: 100%;
}

.song_list {
  .title {
    padding: 0 10px;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 30px;
  }
  .item_wrap {
    display: grid;
    justify-content: space-around;
    grid-template-columns: repeat(auto-fill, 16vw);
    .item {
      // width: 13vw;
      position: relative;
      display: flex;
      flex-direction: column;
      margin-bottom: 20px;
      .el-image {
        border: 1px solid rgb(233, 233, 233);
        width: 15vw;
        aspect-ratio: 1/1;
        border-radius: 10px;
        transition: all 0.2s;
        box-shadow: 2px 2px 5px 5px rgb(221, 221, 241);
        &:hover {
          transform: translateY(-8px);
        }
      }
      span {
        font-size: 16px;
        overflow: hidden;
        font-weight:600;
      }
    }
    .item-singer {
      .el-image {
        border-radius: 50%;
      }
      span {
        text-align: center;
      }
    }
  }
}

.f-c-c {
  display: flex;
  justify-content: center;
  align-items: center;
}
.f-a-c {
  display: flex;
  align-items: center;
}
.f-j-c {
  display: flex;
  justify-content: center;
}

@for $i from 1 through 200 {
  .w#{$i} {
    width: $i * 1px !important;
  }
  .ml#{$i} {
    margin-left: $i * 1px !important;
  }
  .mr#{$i} {
    margin-right: $i * 1px !important;
  }
  .mt#{$i} {
    margin-top: $i * 1px !important;
  }
}

@for $i from 1 through 30 {
  .ml#{$i} {
    margin-left: $i * 1px !important;
  }
  .mr#{$i} {
    margin-right: $i * 1px !important;
  }
  .mt#{$i} {
    margin-top: $i * 1px !important;
  }
  .pd#{$i} {
    padding: $i * 1px !important;
  }
  .pdr#{$i} {
    padding-right: $i * 1px !important;
  }
  .pdl#{$i} {
    padding-left: $i * 1px !important;
  }
}
.fw {
  width: 100%;
}
.cp {
  cursor: pointer;
}

.main-timeline {
  width: 100%;
  .title {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
  }
  .add-icon {
    cursor: pointer;
    margin-left: 10px;
  }
  .time {
    color: #7c7f84;
  }
  .more {
    width: 100%;
    text-align: center;
    cursor: pointer;
  }

  .timeline {
    margin-left: 10px;
    margin-top: 10px;

    .timeline-top {
      display: flex;

      span {
        flex: 1;
      }

      .top-date {
        color: #7c7f84;
      }
    }

    .timeline-des {
      position: relative;
      margin-top: 10px;

      i {
        color: #7c7f84;
        margin-left: 10px;
      }
      .timeline-edit {
        position: absolute;
        right: 0;
        cursor: pointer;
      }
    }

    .timeline-content {
      background-color: #f7f8fa;
      padding: 15px 10px;
      margin-top: 10px;

      span {
        margin-right: 10px;
        color: #7c7f84;
      }
    }
  }
}
.table-list {
  width: 100%;
  font-size: 14px;

  .th-t {
    font-weight: bold;
    height: 40px;
    text-align: left;
    padding-left: 15px;
  }
  .asterisk::before {
    content: "*";
    color: var(--el-color-danger);
    margin-right: 4px;
  }
  tr,
  td {
    border: 1px solid #eceef4;
  }

  tr td {
    height: 40px;
    text-align: right;
    background-color: #f5f6f9;
    width: 10%;
  }

  tr td:nth-child(2n) {
    text-align: left;
    background-color: #ffffff;
    width: 20%;
    padding-left: 5px;
  }

  .add-fruit {
    margin: 0 10px;
  }
}

.table-nolist {
  tr,
  td {
    border: 0;
  }
  .btn-box {
    padding-right: 15px;
  }
}

.form-inline {
  box-sizing: border-box;
  padding: 15px;
  padding-top: 55px;
  padding-bottom: 60px;
}

.contract-form-noedit {
  .el-form-item {
    pointer-events: none;
  }
  .el-input__wrapper,
  textarea {
    box-shadow: none;
  }
  .el-input-group__append {
    background-color: #ffffff;
    box-shadow: none;
  }
  .el-input.is-disabled .el-input__wrapper {
    background-color: #ffffff;
    box-shadow: none;
  }
  .el-input__suffix {
    display: none;
  }
}
.table-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.shor-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  .shor-menu-item {
    padding: 20px;
    width: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    .txt {
      margin-top: 10px;
    }
  }
  img {
    width: 40px;
    height: 40px;
  }
}

.image-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--el-fill-color-light);
  color: var(--el-text-color-secondary);
  font-size: 14px;
}
.dot {
  animation: dot 2s infinite steps(3, start);
  overflow: hidden;
}
.pagination {
  padding: 15px 0;
  display: flex;
  justify-content: right;
}
:deep(.el-pagination) {
  .el-pager{
    .is-acrive{
      background-color: #632fdb;
    }
  }
  :deep(.number .active) {
    background-color: #632fdb;
    color: #fff;
  }
  :deep(.el-pagination.is-background .el-pager li:hover) {
    color: #632fdb;
  }
}
